-- GENERATED SPELL FOR [Stormforged Artificer] --


function spell0_29376(pUnit, Event) --@Lightning Infusion,n/a--
pUnit:FullCastSpellOnTarget(57580,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29376', 5000, 1)
end

function Sorts_29376(pUnit, Event)
local choix_sorts_29376 = math.random(0, 0)
if choix_sorts_29376 == 0 then
pUnit:RegisterEvent('spell0_29376', 1, 1)
end
end

function mob29376_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29376', math.random(1500, 3000), 1)
end

function mob29376_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29376_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29376_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29376, 1, 'mob29376_Action')
RegisterUnitEvent(29376, 2, 'mob29376_Leave')
RegisterUnitEvent(29376, 3, 'mob29376_Kill')
RegisterUnitEvent(29376, 4, 'mob29376_Die')
